home *** CD-ROM | disk | FTP | other *** search
- Path: I980.ssi.stratus.com!not-for-mail
- From: davidm@ssi.stratus.com ()
- Newsgroups: comp.lang.c
- Subject: Re: How are multidimensional array stored in memory?
- Date: 1 Mar 1996 15:17:27 GMT
- Organization: Stratus Computer Inc, Marlboro MA
- Message-ID: <4h74e7$quj@transfer.stratus.com>
- References: <4h6tk6$1d2@mn5.swip.net>
- Reply-To: David_McReynolds@vos.stratus.com
- NNTP-Posting-Host: i980.ssi.stratus.com
- X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
-
- Chris Rossall (chris.rossall@mailbox.swipnet.se) wrote:
- : Hello I was just wondering how multidimensional arrays would be stored
- : in memory.For example info[20][3].
- : would infor[0][1] follow info[0][0] or would info[1][0] follow it?
- : Perhaps this is compiler dependant?
- :
- : -Chris
- :
-
- The FAQ is located at rtfm.mit.edu. Please read it. But, given the
- fact that C is row major, the answer is rather obvious.
-